home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 1994-09-06 | 1.5 KB | 33 lines | [ TEXT/cSSv]
# # commsService 2.0 Service Definition File. # Name=Generalised Serial Service Description=A generalised serial line access service. This service contains an example notify string that recognises the typical unix "^H" response to an incorrect backspace key and automatically toggles the key to the delete key. TimeOut=10 BreakEnabled=Yes PagesToScroll=50 NotifyString=\^H TerminationString=^D ConnectionTool=Serial Tool ConnectionTokens=Baud 19200 DataBits 8 Parity None StopBits 1 Port "Modem Port" Handshake XON/XOFF HoldConnection False RemindDisconnect False ConnectionMenu=No TerminalTool=VT102 Tool TerminalTokens=FontSize 12 Width 80 Cursor Underline Online True LocalEcho False AutoRepeat True RepeatControls False AutoWrap False NewLine False Scroll Jump ShowControls False SwapBackspaceDelete False TerminalMode ANSI/VT102 ShowStatusBar False ShowTabRuler False InverseVideo False InsertChar False OriginAtMargin False KeyClick False CursorKey ANSI Keypad Numeric AnswerBack "" KeyboardLocked False ActiveCharSet G0 NRCSet USASCII G0 USASCII G1 USASCII G2 USASCII G3 USASCII TerminalMenu=No ServiceScripts=on NotifyStringDetected global ActiveService, NotifyStringFound -- -- This handler is called whenever one of the 'Notify' strings are detected in -- the service output. When the handler is executed the global 'ActiveService' -- will contain the name of the service and 'NotifyStringFound' will contain the -- string detected. -- if NotifyStringFound = "\^H" then send togglebackspace to window activeservice end if return true end NotifyStringDetected